package com.article.service;

import com.article.entity.dto.SearchNoticeTypeDao;
import com.article.entity.pojo.NoticeType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface NoticeTypeService extends IService<NoticeType> {
    List<NoticeType> getArticleType(int page, int limit);

    int selectNoticeTypeNumber();

    List<NoticeType> searchNoticeType(SearchNoticeTypeDao searchNoticeTypeDao);

    int selectNoticeTypeNumber(SearchNoticeTypeDao searchNoticeTypeDao);

    int addNoticeType(NoticeType noticeType);

    int updateNoticeType(NoticeType noticeType);

    int deleteNoticeType(int id);

    int deleteNoticeTypes(List<Integer> ids);

    int updateNoticeTypeStatus(int id, Boolean status);
}
